package cn.add.ui;

import android.content.Context;
import android.graphics.Canvas;

public abstract class Component {
	
	protected Context mContext;
	
	public Component(Context context){
		mContext = context;
	}
	
	public void draw(Canvas mCanvas){
		onDraw(mCanvas);
	}
	
	protected abstract void onDraw(Canvas mCanvas);
}
